package com.example.homemate.Repository.owner;

import com.example.homemate.model.entity.owner.Owner;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface OwnerRepository extends JpaRepository<Owner, Long> {
    // 分页查询
    Page<Owner> findAll(Pageable pageable);
}